Total Complexity | 63 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 360 |
Lines of code | 192 |
Logical lines of code | 149 |
Comment lines | 120 |
Methods | 9 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
handle_paypal_webhook() | 41 | 16 | 53 | |
handle_subscription_payment_received() | 47 | 11 | 32 | |
handle_payment_refunded() | 51 | 9 | 24 | |
create_ipn_data_from_paypal_api_subscription_details_data() | 49 | 8 | 28 | |
handle_subscription_status_update() | 58 | 6 | 15 | |
verify_webhook_event_for_given_mode() | 58 | 5 | 15 | |
is_sale_completed_webhook_already_processed() | 61 | 4 | 11 | |
get_paypal_webhook_headers() | 61 | 3 | 11 | |
__construct() | 79 | 1 | 3 |